package util;

import org.hibernate.cfg.AnnotationConfiguration;
import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;

public class GeraTabelas {

	public GeraTabelas() {
		Configuration configuration = new AnnotationConfiguration().configure();
		SchemaExport se = new SchemaExport(configuration);
		se.create(true, true);
	}
	
	public static void main(String[] args) {
		new GeraTabelas(); 
	}

}
